package com.hmdp;

import org.apache.log4j.Logger;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

//暴露代理对象 方便获取
@EnableAspectJAutoProxy(exposeProxy = true)
@MapperScan("com.hmdp.mapper")
@SpringBootApplication
@EnableAsync
public class HmDianPingApplication {
    private static final Logger log = Logger.getLogger(HmDianPingApplication.class);


    public static void main(String[] args) {
        SpringApplication.run(HmDianPingApplication.class, args);
        log.info("项目启动成功....................................................................");
    }
}
